package com.prp.db.idao;

import java.util.List;

import com.prp.db.po.UserRecommendation;
import com.prp.db.po.UserState;

public interface IUserRecommendationDAO {
	public void save(UserRecommendation transientInstance);

	public void delete(UserRecommendation persistentInstance);

	public List findByProperty(String propertyName, Object value);

	public List findByUserId(Object userId);

	public List findByFromId(Object fromId);
	
	public List findByToId(Object toId);

	public List findAll();
	
	public UserRecommendation findById(java.lang.Integer id);

	boolean findByExample(int userId, int fromId, int toId);

}
